@charset 'utf-8';
// @import './reset';

// 新闻动态
.news-top {
    margin-top: 60px;
    // background-color: pink;

    .top-title {
        // border: 1px solid blue;
        margin: 40px 0 20px;
        padding-bottom: 9px;

        h2 {
            font-size: 30px;
            color: #ff6b08;

        }
    }

    .top-content {
        // background-color: lightblue;
        border: solid 1px #eeeeee;
        border-radius: 4px;
        position: relative;
        width: 100%;
        text-align: center;

        img {
            border: solid 1px #eee;
            border-radius: 4px;
        }

        .top-content-text {
            color: #ffffff;
            background-color: rgba(0, 0, 0, 0.6);
            position: absolute;
            top: 138px;
            left: 2px;
            line-height: 24px;
            font-size: 1em;
            padding: 10px 0;
            text-align: center;
            width: 99%;
            height: 41px;
        }
    }

}

// 多块新闻内容
.news-bottom {
    // background-color: lightgreen;
    margin-top: 78px;

    .news-bottom-box {
        margin-top: 38px;
    }

    .bottomImg {
        padding: 5px;
        border-radius: 4px;
        border: solid 1px #dddddd;
        // display: inline-block;
        // max-width: 230px;
        max-height: 140px;

        img {
            max-width: 100%;
        }

    }

    .bottomText {
        padding-top: 10px;
        margin-top: -26px;
        h4 {
            font-size: 18px;
            color: #000;
            margin-top: 10px;
            margin-bottom: 10px;
            color: #666666;
        }

        p {
            margin: 0 0 10px;
        }

        .textDate {
            font-size: 1rem;
            line-height: 25px;
        }

        .textDesc {
            font-size: 1rem;
            line-height: 25px;
        }

        .textDetail {
            text-align: right;
            font-size: 14px;
            color: #ff6900;
            margin-top: 10px;

            .detail a {
                padding: 5px 20px;
                border-radius: 15px;
                border: solid 1px #ff6900;
                float: right;
                margin: 3px 25px 0 0;

            }

            .detail a:hover {
                background-color: #ff6900;
                color: #ffffff;
                text-decoration: none;
            }
        }

    }

    .line {
        padding-top: 25px;
        margin: 30px 0 15px 0;

        border-bottom: dashed 1px #D4D4D4;
    }

    .page {
        text-align: center;
        display: block;

        .pagination {
            display: inline-block;
            border: solid 1px #dddddd;
            margin: 20px 0;

            >li {
                display: inline;
                

                >a, >span {
                    font-size: 12px;
                    position: relative;
                    float: left;
                    padding: 6px 12px;
                    margin-left: -1px;
                    line-height: 1.5rem;
                    color: #2a2a2a;
                    background-color: #fff;
                    border: 1px solid #ddd;
                    text-decoration: none;
                }
                >span{
                        color: #ffffff;
                        background-color: #E34637;
                        cursor: pointer;
                }


                .r1 {
                    border-radius: 4px 0 0 4px;
                }

                .r2 {
                    border-radius: 0 4px 4px 0;
                }
            }

        }

        a {
            color: #2a2a2a;
        }

    }
}


@media (min-width: 1200px) {
    .container {
        width: 1000px;
    }
}

@media (min-width: 768px) {
    .top-content img {
        width: 220px;
        height: 176.4px;
    }
}

@media (min-width: 991px) {
    .top-content img {
        width: 302px;
        height: 180px;
    }

    .news-bottom img {
        width: 210px;
        height: 126px;
    }
}

@media (max-width: 767px) {
    .top-content-text {
        display: none !important;
    }

    .top-content img {
        max-width: 100%;
    }

    .news-bottom {

        .textDesc,
        .textDetail {
            display: none !important;
        }
    }

}

@media (max-width: 991px) and (min-width: 767px) {
    .news-bottom img {
        height: 126px;
        width: 210px;
    }
}

@media (max-width: 576px) {
    .col-xs-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-xs-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}